import type { TPageRequest, TSortOption } from '../global.ts';

// 基础响应类型
export interface MockResponse<T = unknown> {
  code: number;
  data?: T;
  message: string;
}

export interface MockResponseWithTotal<T = unknown> extends MockResponse<T> {
  total?: number;
}

// 使用 global.ts 中的类型
export type QueryParams = TPageRequest; 